package com.c.service;

import com.c.pojo.entity.Answer;
import com.c.pojo.vo.AnswerVo;

/**
 * @author bysun
 */
public interface AnswerService {

    /**
     * 根据微信id获取回复信息
     *
     * @param id
     * @return
     */
    Answer getAnswerByAccountId(Integer id);

    /**
     * 添加或者修改回复
     *
     * @param answerVo
     * @return
     */
    Answer addOrUpdateAnswer(AnswerVo answerVo);

    /**
     * 根据账户id查询回复
     *
     * @param toUserName
     * @return
     */
    Answer getAnswerByAccountAccountID(String toUserName);
}
